home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / dbsetifile.man < prev    next >
Text File  |  1993-04-22  |  2KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89               dbsetifile
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  dbsetifile
  6.  
  7.   FUNCTION:
  8.        Specify the name and location of the SYBASE interfaces file.
  9.  
  10.   SYNTAX:
  11.        void dbsetifile(filename)
  12.  
  13.        char      *filename;
  14.  
  15.   COMMENTS:
  16.  
  17.        o This routine lets the application specify the name and location
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   dbsetifile              Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.          of the interfaces file that will be searched during every  sub-
  27.          sequent  call  to  dbopen().   The interfaces file contains the
  28.          name and network address of every SQL Server available  on  the
  29.          network.
  30.  
  31.        o If dbsetifile() has not been called, a call  to  dbopen()  will
  32.          initiate the following default behavior:  DB-Library will first
  33.          attempt to use a file named "interfaces" in the directory named
  34.          by  the SYBASE environment variable or logical name.  If SYBASE
  35.          has not been set, DB-Library will attempt to use a file  called
  36.          "interfaces" in the home directory of the user named "sybase".
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89               dbsetifile
  47.   ______________________________________________________________________
  48.  
  49.        o For more information on the interfaces  file,  see  the  SYBASE
  50.          Installation Guide.
  51.  
  52.   PARAMETERS:
  53.        filename -  The name of the interfaces file  that  gets  searched
  54.            during  every  subsequent call to dbopen(). If this parameter
  55.            is NULL, DB-Library will revert  to  its  default  interfaces
  56.            filename (see above).
  57.  
  58.   RETURNS:
  59.        None.
  60.  
  61.   SEE ALSO:
  62.        dbopen, dbsetconnect
  63.  
  64.  
  65.  
  66.  
  67.